<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>My Project: M:/移动硬盘/曹健/DX3D完成作业/619/D3DX封装/src/UIPicture.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.9.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">UIPicture.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_u_i_picture_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//普通的图片控件,从CComponent中派生出来</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_component_8h.html">Component.h</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="class_c_u_i_picture.html">    6</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_c_u_i_picture.html">CUIPicture</a> : <span class="keyword">public</span> <a class="code" href="class_c_component.html">CComponent</a></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;{</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;    <span class="comment">//构造函数</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;    <a class="code" href="class_c_u_i_picture.html#a509f82f171cccb5cd0fbd559e1af1a6a">CUIPicture</a>();</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_c_u_i_picture.html#a55f740830ba70f743e47b1091efed1ed">Init</a>(<a class="code" href="class_ti_xml_element.html">TiXmlElement</a>* element);</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;    <span class="comment">//析构函数</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;    <a class="code" href="class_c_u_i_picture.html#a2f3971564ef3cc4f0c553c9b98ba4ef3">~CUIPicture</a>();</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    <span class="comment">//更换图片</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_c_u_i_picture.html#a06b55b66cbdca834a2e3219271bc15ab">ChangePic</a>(<span class="keywordtype">string</span> filename);</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;};</div>
<div class="ttc" id="class_c_u_i_picture_html_a55f740830ba70f743e47b1091efed1ed"><div class="ttname"><a href="class_c_u_i_picture.html#a55f740830ba70f743e47b1091efed1ed">CUIPicture::Init</a></div><div class="ttdeci">void Init(TiXmlElement *element)</div><div class="ttdef"><b>Definition:</b> UIPicture.cpp:13</div></div>
<div class="ttc" id="class_c_u_i_picture_html_a509f82f171cccb5cd0fbd559e1af1a6a"><div class="ttname"><a href="class_c_u_i_picture.html#a509f82f171cccb5cd0fbd559e1af1a6a">CUIPicture::CUIPicture</a></div><div class="ttdeci">CUIPicture()</div><div class="ttdef"><b>Definition:</b> UIPicture.cpp:4</div></div>
<div class="ttc" id="class_c_u_i_picture_html"><div class="ttname"><a href="class_c_u_i_picture.html">CUIPicture</a></div><div class="ttdef"><b>Definition:</b> UIPicture.h:6</div></div>
<div class="ttc" id="class_c_u_i_picture_html_a2f3971564ef3cc4f0c553c9b98ba4ef3"><div class="ttname"><a href="class_c_u_i_picture.html#a2f3971564ef3cc4f0c553c9b98ba4ef3">CUIPicture::~CUIPicture</a></div><div class="ttdeci">~CUIPicture()</div><div class="ttdef"><b>Definition:</b> UIPicture.cpp:9</div></div>
<div class="ttc" id="class_c_u_i_picture_html_a06b55b66cbdca834a2e3219271bc15ab"><div class="ttname"><a href="class_c_u_i_picture.html#a06b55b66cbdca834a2e3219271bc15ab">CUIPicture::ChangePic</a></div><div class="ttdeci">void ChangePic(string filename)</div><div class="ttdef"><b>Definition:</b> UIPicture.cpp:19</div></div>
<div class="ttc" id="_component_8h_html"><div class="ttname"><a href="_component_8h.html">Component.h</a></div></div>
<div class="ttc" id="class_ti_xml_element_html"><div class="ttname"><a href="class_ti_xml_element.html">TiXmlElement</a></div><div class="ttdef"><b>Definition:</b> tinyxml.h:936</div></div>
<div class="ttc" id="class_c_component_html"><div class="ttname"><a href="class_c_component.html">CComponent</a></div><div class="ttdef"><b>Definition:</b> Component.h:7</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2018年 七月 1日 星期日 22:10:09 , 为 My Project使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
